package com.trainbook.entity.DTO.middle;

import com.trainbook.service.ISiteService;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Author: Dempsey
 * @Date: 2020/12/24 17:48
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AddSite_Site2site", description = "添加站点与站点间相连的接收类")
public class AddSite_Site2site {

    @Autowired
    private ISiteService siteService;

    @ApiModelProperty(value = "站点 B")
    private Integer siteB;

    @ApiModelProperty(value = "站点间距离,单位km")
    private Double distance;

    @ApiModelProperty(value = "所需时间")
    private Long requiredTime;

    @ApiModelProperty(value = "票价")
    private Double price;

}